import Vue from 'vue'
import App from './App'

import { toast, loading, alert, dialog, cookie } from './utils'
import store from './store/index'
import router from './router/index'

import '../static/styles/global.scss'

Vue.prototype.$store = store
Vue.prototype.$router = router
Vue.prototype.$cookie = cookie
Vue.prototype.$toast = toast
Vue.prototype.$loading = loading
Vue.prototype.$alert = alert
Vue.prototype.$dialog = dialog

Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue(App)
app.$mount()
